#pragma once
#ifndef H_Sphere
#define H_Sphere

#include <stdio.h>

#include "Object.h"
#include "Vector3.h"

class Sphere: public Object {
	public:
		Sphere(void);
		Sphere(Vector3 c, float r);
		
		Vector3 normal(Vector3 p);
		float tIntersect(Vector3 p, Vector3 r, Object* obj);
		
		Vector3 center;
		float radius;
};
#endif